import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import word from '@/components/word'
import pwd from '@/components/pwd'
import user from '@/components/user'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    }, {
      path: '/word',
      name: 'word',
      component: word
    }, {
      path: '/pwd',
      name: '交易密码',
      component: pwd
    }, {
      path: '/user',
      name: '用户中心',
      component: user
    }
  ]
})
